package com.woniu.mall.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品评价表
 * </p>
 *
 * @author lwh
 * @since 2022-07-22
 */
public class Appraise implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 创建时间;作 评价时间
     */
    private LocalDateTime createdTime;

    /**
     * 更新时间;作 回复时间
     */
    private LocalDateTime updatedTime;

    /**
     * 逻辑删除标识;默认1；删除0
     */
    private String deleteFlag;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 商品ID
     */
    private Integer productId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 评论
     */
    private String info;

    /**
     * 评论图片
     */
    private String picture;

    /**
     * 商家回复
     */
    private String reply;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }
    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }
    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }
    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    @Override
    public String toString() {
        return "Appraise{" +
            "id=" + id +
            ", createdTime=" + createdTime +
            ", updatedTime=" + updatedTime +
            ", deleteFlag=" + deleteFlag +
            ", orderId=" + orderId +
            ", productId=" + productId +
            ", userId=" + userId +
            ", info=" + info +
            ", picture=" + picture +
            ", reply=" + reply +
        "}";
    }
}
